import Vue from 'vue'
import App from './App.vue';
import VueLazyload from './modules/vue-lazyload';

Vue.config.productionTip = false;

Vue.use(VueLazyload, {
  loading: require('./assets/img/loading.gif'),
  error: require('./assets/img/error.jpg'),
  //配置：页面预加载范围1-1.9
  preload: 1
});

new Vue({
  render: h => h(App)
}).$mount('#app')